const { compose, curry } = require('folktale/core/lambda')
const fp = require('lodash/fp')


const sum = curry(2, (x, y) => x+y)

console.log(sum(1,2))
console.log(sum(1)(2))

const f = compose(fp.toUpper, fp.first)
console.log(f(['aa', 'bb']))